
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>第1节：框架介绍与启动 · 开发文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="kim">
        <meta name="identifier" content="开发文档" scheme="ISBN">
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="catalog_structure_typical_templates.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://www.zbtservices.com/" target="_blank" class="custom-link">洲博通官网</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    第一章 项目框架
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.1" data-path="framework_introduction_startup.html">
            
                <a href="framework_introduction_startup.html">
            
                    
                    第1节：框架介绍与启动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="catalog_structure_typical_templates.html">
            
                <a href="catalog_structure_typical_templates.html">
            
                    
                    第2节：目录结构与典型模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="布局.html">
            
                <a href="布局.html">
            
                    
                    第3节：布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="行.md">
            
                <span>
            
                    
                    第4节：行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="自定义.html">
            
                <a href="自定义.html">
            
                    
                    第5节：自定义
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../Chapter2/">
            
                <a href="../Chapter2/">
            
                    
                    第二章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../Chapter3/">
            
                <a href="../Chapter3/">
            
                    
                    第三章
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../Chapter4/">
            
                <a href="../Chapter4/">
            
                    
                    第四章
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >第1节：框架介绍与启动</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7B2C;1&#x8282;&#xFF1A;&#x6846;&#x67B6;&#x4ECB;&#x7ECD;&#x4E0E;&#x9879;&#x76EE;&#x542F;&#x52A8;">&#x7B2C;1&#x8282;&#xFF1A;&#x6846;&#x67B6;&#x4ECB;&#x7ECD;&#x4E0E;&#x9879;&#x76EE;&#x542F;&#x52A8;</h1>
<h3 id="&#x6D32;&#x535A;&#x901A;&#x5916;&#x7EFC;&#x9879;&#x76EE;&#x5B89;&#x88C5;">&#x6D32;&#x535A;&#x901A;&#x5916;&#x7EFC;&#x9879;&#x76EE;&#x5B89;&#x88C5;</h3>
<p>&#x901A;&#x8FC7; <a href="https://git-scm.com/" target="_blank">git</a>&#x4ECE;&#x4ED3;&#x5E93;&#x4E2D;&#x514B;&#x9686;&#x62C9;&#x53D6;&#x9879;&#x76EE; <a href="https://github.com/KimGuBa/Ant-Design-Pro.git" target="_blank">https://github.com/KimGuBa/Ant-Design-Pro.git</a>&#xFF0C;&#x5728;&#x7EC8;&#x7AEF;&#x63D0;&#x793A;&#x7B26;&#x4E0B;&#xFF0C;&#x53EA;&#x9700;&#x8FD0;&#x884C;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;&#x5373;&#x53EF;&#x5B89;&#x88C5; &#xFF1A;</p>
<pre><code class="lang-bash">git <span class="hljs-built_in">clone</span> --depth=1 https://github.com/KimGuBa/Ant-Design-Pro.git my-project
<span class="hljs-built_in">cd</span> my-project
</code></pre>
<h2 id="&#x672C;&#x5730;&#x5F00;&#x53D1;">&#x672C;&#x5730;&#x5F00;&#x53D1;</h2>
<blockquote>
<p>&#x5B89;&#x88C5;&#x4F9D;&#x8D56;&#x3002;<code>npm i</code> &#x6216;&#x8005;&#x5148;&#x6267;&#x884C;<code>npm i yarn -g</code>&#x540E;, <code>yarn install</code>   </p>
</blockquote>
<pre><code class="lang-bash">npm i
</code></pre>
<blockquote>
<p>&#x5982;&#x679C;&#x7F51;&#x7EDC;&#x72B6;&#x51B5;&#x4E0D;&#x4F73;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; <a href="https://cnpmjs.org/" target="_blank">cnpm</a> &#x8FDB;&#x884C;&#x52A0;&#x901F;</p>
</blockquote>
<pre><code class="lang-bash">npm start
</code></pre>
<blockquote>
<p>&#x5982;&#x679C;&#x5B89;&#x88C5;&#x4E86;yarn&#xFF0C;&#x8FD8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; <a href="">yarn</a> &#x8FDB;&#x884C;&#x542F;&#x52A8;&#x3002;&#x5B89;&#x88C5;yarn&#x547D;&#x4EE4;&#x884C; <code>npm i yarn -g</code>  <a href="https://yarn.bootcss.com/" target="_blank"><code>yarn&#x4ECB;&#x7ECD;</code></a></p>
</blockquote>
<pre><code class="lang-bash">yarn start
</code></pre>
<blockquote>
<p>&#x6253;&#x5305;</p>
</blockquote>
<pre><code class="lang-bash">npm start   &#x6216;&#x8005;   yarn start
</code></pre>
<p><img src="../images/uHAzKpIQDMGdmjIxZLOV.png" alt="img"></p>
<p>&#x542F;&#x52A8;&#x5B8C;&#x6210;&#x540E;&#x4F1A;&#x81EA;&#x52A8;&#x6253;&#x5F00;&#x6D4F;&#x89C8;&#x5668;&#x8BBF;&#x95EE; <a href="http://localhost:8000/" target="_blank">http://localhost:8000 </a>&#xFF0C;&#x4F60;&#x770B;&#x5230;&#x4E0B;&#x9762;&#x7684;&#x9875;&#x9762;&#x5C31;&#x4EE3;&#x8868;&#x6210;&#x529F;&#x4E86;&#x3002;</p>
<p><img src="../images/PVmvmxKUsAryuFbGqUmV.png" alt="img"></p>
<p>&#x63A5;&#x4E0B;&#x6765;&#x4F60;&#x53EF;&#x4EE5;&#x4F60;&#x5C31;&#x53EF;&#x4EE5;&#x8FDB;&#x884C;&#x6211;&#x4EEC;&#x9879;&#x76EE;&#x7684;&#x5F00;&#x53D1;&#x4E86;&#xFF0C;&#x6211;&#x4EEC;&#x5185;&#x5EFA;&#x4E86;&#x5178;&#x578B;&#x4E1A;&#x52A1;&#x6A21;&#x677F;&#x3001;&#x5E38;&#x7528;&#x4E1A;&#x52A1;&#x7EC4;&#x4EF6;&#x3001;&#x6A21;&#x62DF;&#x6570;&#x636E;&#x3001;HMR &#x5B9E;&#x65F6;&#x9884;&#x89C8;&#x3001;&#x72B6;&#x6001;&#x7BA1;&#x7406;&#x3001;&#x56FD;&#x9645;&#x5316;&#x3001;&#x5168;&#x5C40;&#x8DEF;&#x7531;&#x7B49;&#x7B49;&#x5404;&#x79CD;&#x5B9E;&#x7528;&#x7684;&#x529F;&#x80FD;&#x8F85;&#x52A9;&#x5F00;&#x53D1;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x7EE7;&#x7EED;&#x9605;&#x8BFB;&#x548C;&#x63A2;&#x7D22;&#x5DE6;&#x4FA7;&#x7684;&#x5176;&#x4ED6;&#x6587;&#x6863;</p>
<script type="text/javascript">
window.addEventListener("load", function() {
  var click_handle = function() {
    if (this.href.substr(-5) == ".html") {
      location.href = this.href;
    } else {
      location.href = "./index.html";
    }
  };
  var as = document.querySelectorAll(".chapter a, .navigation-prev, .navigation-next");
  for (var i = 0; i < as.length; i++) {
    as[i].addEventListener("click", click_handle, true);
    as[i].title = as[i].innerText;
  }
});
</script>



                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 第一章 项目框架">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="catalog_structure_typical_templates.html" class="navigation navigation-next " aria-label="Next page: 第2节：目录结构与典型模板">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"第1节：框架介绍与启动","level":"1.2.1","depth":2,"next":{"title":"第2节：目录结构与典型模板","level":"1.2.2","depth":2,"path":"Chapter1/catalog_structure_typical_templates.md","ref":"Chapter1/catalog_structure_typical_templates.md","articles":[]},"previous":{"title":"第一章 项目框架","level":"1.2","depth":1,"path":"Chapter1/README.md","ref":"Chapter1/README.md","articles":[{"title":"第1节：框架介绍与启动","level":"1.2.1","depth":2,"path":"Chapter1/framework_introduction_startup.md","ref":"Chapter1/framework_introduction_startup.md","articles":[]},{"title":"第2节：目录结构与典型模板","level":"1.2.2","depth":2,"path":"Chapter1/catalog_structure_typical_templates.md","ref":"Chapter1/catalog_structure_typical_templates.md","articles":[]},{"title":"第3节：布局","level":"1.2.3","depth":2,"path":"Chapter1/布局.md","ref":"Chapter1/布局.md","articles":[]},{"title":"第4节：行","level":"1.2.4","depth":2,"path":"Chapter1/行.md","ref":"Chapter1/行.md","articles":[]},{"title":"第5节：自定义","level":"1.2.5","depth":2,"path":"Chapter1/自定义.md","ref":"Chapter1/自定义.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","ebook":"styles/ebook.css","pdf":"styles/pdf.css","mobi":"styles/mobi.css","epub":"styles/epub.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"family":"sans","size":2,"theme":"white"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"kim","pdf":{"pageBreaksBefore":"/","headerTemplate":"开发文档","paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":"开发文档","chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"开发文档","variables":{},"title":"开发文档","language":"zh-hans","links":{"sidebar":{"洲博通官网":"https://www.zbtservices.com/"},"sharing":{"all":"开发文档","facebook":"开发文档","google":"开发文档","twitter":"开发文档","weibo":"开发文档"}},"gitbook":"*","description":"洲博通外综服务开发文档","extension":"开发文档"},"file":{"path":"Chapter1/framework_introduction_startup.md","mtime":"2019-08-01T07:48:10.521Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-01T08:00:02.422Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

